package com.scsj.supermarket.base;

import com.scsj.supermarket.bean.GoodsDetailEvaluationBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * 注册
 */

public class QueryGoodsDetailEvaluationBase {

    public interface IView {

        void showSuccessMsg(String s, GoodsDetailEvaluationBean goodsDetailEvaluationBean);

        void showErrorMsg(String s);
    }

    public interface IPresenter {

        void deliverData(RequestBody requestBody);
    }

    public interface IModel {

        Subscription getData(RequestBody requestBody, ResponseCallback<GoodsDetailEvaluationBean> callback);
    }
}
